// 定义首页需要的接口函数
import request from '@/utils/request'

// 获取品牌
export const findBrand = (limit: number = 6) => request('/home/brand','get',{limit})
// 获取轮播图
export const findBanner = () => request('/home/banner','get')
// 获取新鲜好物
export const findNew = () => request('home/new', 'get')
// 获取人气推荐
export const findHot = () => request('home/hot', 'get')
// 获取商品
export const findGoods = () => request('home/goods', 'get')
// 获取最新专题
export const findSpecial= () => request('home/special', 'get')
